/**
 * @date 11:45:34 AM
 * IEducationTeacherMessageDao.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.dao;

import java.util.List;

import com.qs.education.bean.entity.EducationTeacher;
import com.qs.education.bean.entity.EducationTeacherMessage;

/**
 * @class IEducationTeacherMessageDao	
 * @author Warren
 * @description
 * @date Nov 19, 2018 
 */
public interface IEducationTeacherMessageDao extends IBaseDao<EducationTeacherMessage>{
	
	/**
	 * @author Warren
	 * @param educationTeacher
	 * @return List<EducationTeacherMessage>
	 * @description 根据teacher查询message
	 * @date Nov 21, 2018
	 */
	public List<EducationTeacherMessage> findListByTeacher(EducationTeacher educationTeacher,int currentPage,int pageSize);
	
	/**
	 * @author Warren
	 * @param educationTeacher
	 * @return int
	 * @description 根据teacher查询message总条数
	 * @date Nov 21, 2018
	 */
	public int getALLCountByTeacher(EducationTeacher educationTeacher);
	
	/**
	 * @author Warren
	 * @return EducationTeacherMessage
	 * @description 
	 * @date Nov 23, 2018
	 */
	public EducationTeacherMessage findEducationTeacherMessageByApplyIdAndStatus(Long applyId, int messageStatus);
}
